package com.kipling.kio.core.intf;

import java.io.Serializable;

/**
 * 
 * @author KiplingLee kiplinglee@163.com
 *
 */
public class Packet implements Serializable
{
	
	private static final long serialVersionUID = -4273575064989145095L;
	private byte type;
	private int code;
	/**
	 * 用户唯一标识
	 */
	private String userid;
	
	private Object content = new Object();

	
	public byte getType() {
		return type;
	}

	public void setType(byte type) {
		this.type = type;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public Object getContent() {
		return content;
	}

	public void setContent(Object content) {
		this.content = content;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

}
